home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
jikes
/
src
/
javaact.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-14
|
30KB
|
1,826 lines
// $Id: javaact.h,v 1.6 1999/03/08 18:04:50 shields Exp $
//
// This software is subject to the terms of the IBM Jikes Compiler
// License Agreement available at the following URL:
// http://www.ibm.com/research/jikes.
// Copyright (C) 1996, 1999, International Business Machines Corporation
// and others. All Rights Reserved.
// You must accept the terms of that agreement to use this software.
//
#ifndef HEADERS
void Parser::InitRuleAction()
{
rule_action[0] = &Parser::BadAction;
#else
void BadAction(void);
void NoAction(void);
void NullAction(void);
void MakeArrayType(void);
void MakeSimpleName(void);
void MakeFieldAccess(void);
void MakeQualifiedSuper(void);
void MakeQualifiedNew(void);
void SetSym1ToSym2(void);
void MakeEmptyStatement(void);
void MakeLabeledStatement(void);
void MakeExpressionStatement(void);
void MakeIfThenElseStatement(void);
void MakeWhileStatement(void);
void MakeForStatement(void);
void MakeArrayCreationExpression(void);
void MakeSuperFieldAccess(void);
void MakeSuperDoubleFieldAccess(void);
void MakeArrayAccess(void);
void MakeCastExpression(void);
#endif
#ifndef HEADERS
rule_action[1] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[2] = &Parser::Act2;
#else
void Act2(void);
#endif
#ifndef HEADERS
rule_action[3] = &Parser::Act3;
#else
void Act3(void);
#endif
#ifndef HEADERS
rule_action[4] = &Parser::Act4;
#else
void Act4(void);
#endif
#ifndef HEADERS
rule_action[5] = &Parser::Act5;
#else
void Act5(void);
#endif
#ifndef HEADERS
rule_action[6] = &Parser::Act6;
#else
void Act6(void);
#endif
#ifndef HEADERS
rule_action[7] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[8] = &Parser::Act8;
#else
void Act8(void);
#endif
#ifndef HEADERS
rule_action[9] = &Parser::Act9;
#else
void Act9(void);
#endif
#ifndef HEADERS
rule_action[10] = &Parser::Act10;
#else
void Act10(void);
#endif
#ifndef HEADERS
rule_action[11] = &Parser::Act11;
#else
void Act11(void);
#endif
#ifndef HEADERS
rule_action[12] = &Parser::Act12;
#else
void Act12(void);
#endif
#ifndef HEADERS
rule_action[13] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[14] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[15] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[16] = &Parser::Act16;
#else
void Act16(void);
#endif
#ifndef HEADERS
rule_action[17] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[18] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[19] = &Parser::Act19;
#else
void Act19(void);
#endif
#ifndef HEADERS
rule_action[20] = &Parser::Act20;
#else
void Act20(void);
#endif
#ifndef HEADERS
rule_action[21] = &Parser::Act21;
#else
void Act21(void);
#endif
#ifndef HEADERS
rule_action[22] = &Parser::Act22;
#else
void Act22(void);
#endif
#ifndef HEADERS
rule_action[23] = &Parser::Act23;
#else
void Act23(void);
#endif
#ifndef HEADERS
rule_action[24] = &Parser::Act24;
#else
void Act24(void);
#endif
#ifndef HEADERS
rule_action[25] = &Parser::Act25;
#else
void Act25(void);
#endif
#ifndef HEADERS
rule_action[26] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[27] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[28] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[29] = &Parser::MakeArrayType;
#endif
#ifndef HEADERS
rule_action[30] = &Parser::MakeArrayType;
#endif
#ifndef HEADERS
rule_action[31] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[32] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[33] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[34] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[35] = &Parser::MakeSimpleName;
#endif
#ifndef HEADERS
rule_action[36] = &Parser::MakeFieldAccess;
#endif
#ifndef HEADERS
rule_action[37] = &Parser::Act37;
#else
void Act37(void);
#endif
#ifndef HEADERS
rule_action[38] = &Parser::Act38;
#else
void Act38(void);
#endif
#ifndef HEADERS
rule_action[39] = &Parser::Act39;
#else
void Act39(void);
#endif
#ifndef HEADERS
rule_action[40] = &Parser::Act40;
#else
void Act40(void);
#endif
#ifndef HEADERS
rule_action[41] = &Parser::Act41;
#else
void Act41(void);
#endif
#ifndef HEADERS
rule_action[42] = &Parser::Act42;
#else
void Act42(void);
#endif
#ifndef HEADERS
rule_action[43] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[44] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[45] = &Parser::Act45;
#else
void Act45(void);
#endif
#ifndef HEADERS
rule_action[46] = &Parser::Act46;
#else
void Act46(void);
#endif
#ifndef HEADERS
rule_action[47] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[48] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[49] = &Parser::Act49;
#else
void Act49(void);
#endif
#ifndef HEADERS
rule_action[50] = &Parser::Act50;
#else
void Act50(void);
#endif
#ifndef HEADERS
rule_action[51] = &Parser::Act51;
#else
void Act51(void);
#endif
#ifndef HEADERS
rule_action[52] = &Parser::Act52;
#else
void Act52(void);
#endif
#ifndef HEADERS
rule_action[53] = &Parser::Act53;
#else
void Act53(void);
#endif
#ifndef HEADERS
rule_action[54] = &Parser::Act54;
#else
void Act54(void);
#endif
#ifndef HEADERS
rule_action[55] = &Parser::Act55;
#else
void Act55(void);
#endif
#ifndef HEADERS
rule_action[56] = &Parser::Act56;
#else
void Act56(void);
#endif
#ifndef HEADERS
rule_action[57] = &Parser::Act57;
#else
void Act57(void);
#endif
#ifndef HEADERS
rule_action[58] = &Parser::Act58;
#else
void Act58(void);
#endif
#ifndef HEADERS
rule_action[59] = &Parser::Act59;
#else
void Act59(void);
#endif
#ifndef HEADERS
rule_action[60] = &Parser::Act60;
#else
void Act60(void);
#endif
#ifndef HEADERS
rule_action[61] = &Parser::Act61;
#else
void Act61(void);
#endif
#ifndef HEADERS
rule_action[62] = &Parser::Act62;
#else
void Act62(void);
#endif
#ifndef HEADERS
rule_action[63] = &Parser::Act63;
#else
void Act63(void);
#endif
#ifndef HEADERS
rule_action[64] = &Parser::SetSym1ToSym2;
#endif
#ifndef HEADERS
rule_action[65] = &Parser::SetSym1ToSym2;
#endif
#ifndef HEADERS
rule_action[66] = &Parser::Act66;
#else
void Act66(void);
#endif
#ifndef HEADERS
rule_action[67] = &Parser::Act67;
#else
void Act67(void);
#endif
#ifndef HEADERS
rule_action[68] = &Parser::Act68;
#else
void Act68(void);
#endif
#ifndef HEADERS
rule_action[69] = &Parser::Act69;
#else
void Act69(void);
#endif
#ifndef HEADERS
rule_action[70] = &Parser::Act70;
#else
void Act70(void);
#endif
#ifndef HEADERS
rule_action[71] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[72] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[73] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[74] = &Parser::Act74;
#else
void Act74(void);
#endif
#ifndef HEADERS
rule_action[75] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[76] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[77] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[78] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[79] = &Parser::Act79;
#else
void Act79(void);
#endif
#ifndef HEADERS
rule_action[80] = &Parser::Act80;
#else
void Act80(void);
#endif
#ifndef HEADERS
rule_action[81] = &Parser::Act81;
#else
void Act81(void);
#endif
#ifndef HEADERS
rule_action[82] = &Parser::Act82;
#else
void Act82(void);
#endif
#ifndef HEADERS
rule_action[83] = &Parser::Act83;
#else
void Act83(void);
#endif
#ifndef HEADERS
rule_action[84] = &Parser::Act84;
#else
void Act84(void);
#endif
#ifndef HEADERS
rule_action[85] = &Parser::Act85;
#else
void Act85(void);
#endif
#ifndef HEADERS
rule_action[86] = &Parser::NoAction;
#endif
#ifndef HEADERS
rule_action[87] = &Parser::NoAction;